Auto de-dupe build scripts to link
authorAlex Crichton <alex@alexcrichton.com>
Thu, 8 Oct 2015 06:26:05 +0000 (23:26 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 8 Oct 2015 06:26:05 +0000 (23:26 -0700)
commit20a0e30ec5f787b68b20dfea8ad0ff95ec10cb36
tree96b2edff94fc980362e9a689bc7908c610e46918
parent1e5fa846e1b813e0d8f521a738a12ed17e844d34
Auto de-dupe build scripts to link

I removed this in 68014ab8 thinking it wasn't necessary, which it technically
isn't for correctness but it ends up leading to absurdly long command lines to
the compiler for larger projects. This also changes the `Vec` to be a `BTreeSet`
to have sorting and deduplication as we go along which should be much faster
than waiting to sort until the very end.
src/cargo/ops/cargo_rustc/custom_build.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile_custom_build.rs